const express = require('express')
// history 模式
const history = require('connect-history-api-fallback')
const path = require('path')

const app = express()

// app.use(history())

app.use(express.static(path.join(__dirname,'../router/dist')))

app.listen(3000,()=>{
    console.log('http://localhost:3000')
})







